package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.Suggest;
import com.ajk.server.model.query.SuggestQuery;

/**
 * 意见反馈  <br>
 * t_suggest <br>
 * v1.0 2016-05-01
 */
 public interface SuggestService {
	
	/**
 	*根据ID删除 意见反馈
 	*/
 	public Integer deleteSuggestById(Integer id);
 	
 	/**
 	*新增 意见反馈
 	*/
 	public Integer batchInsertSuggest(List<? extends Suggest> suggests);
 	
 	/**
 	*新增 意见反馈
 	*/
 	public Integer insertSuggest(Suggest domain);
 
 	
 	/**
 	*更新 意见反馈
 	*/
 	public Integer updateSuggest(Suggest domain);
 	
 	/**
 	*根据ID查询 意见反馈
 	*/
 	public Suggest findSuggestById(Integer id);

	/**
 	*通过query 查询 意见反馈
 	*/
	public List<Suggest> findSuggestByQuery(SuggestQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countSuggestByQuery(SuggestQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<Suggest> findSuggestByIds(List<Integer> ids);
 	
}	